import { createComponent } from '@/components/@comp/create-component';

import useRequestPagination from './plugins/useRequestPagination';
import useColumnsTransform from './plugins/useColumnsTransform';
import useLayoutMain from './plugins/useLayout';
import useSearchNormal from './plugins/useSearchNormal';
import useButtonList from './plugins/useButtonList';
import useListTable from './plugins/useListTable';
import useListPagination from './plugins/useListPagination';

/** 请求表格，主要用在管理页面 */
const ListOfTable = createComponent('ListOfTable', [
  useRequestPagination,
  useColumnsTransform,
  useLayoutMain,
  useSearchNormal,
  useButtonList,
  useListTable,
  useListPagination,
]);

export default ListOfTable;
